<?php
/**
 * 转账管理
 */
namespace app\common\model;

use think\Model;

class MemberTransfer extends Model
{
    protected $name = 'member_transfer';

    /**
     * 转账详情
     * @param $id
     * @return MemberTransfer|array|mixed|Model|null
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public static function getDetails($id){
        $data = self::where('id',$id)->find();
        return $data;
    }
}